<template>
  <view class="page">
    <header-vue :back="true" :title="title"></header-vue>
    <view class="page-content"> </view>
  </view>
</template>

<script>
import headerVue from "@/components/header.vue";

export default {
  data() {
    return {
      title: "页面",
    };
  },
  components: {
    headerVue,
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.page {
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  position: relative;
  border: 1px solid red;

  .page-content {
    flex: 1;
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
  }
}
</style>
